package pixelradar.util;

import com.pixelmonmod.pixelmon.enums.EnumNature;

public class PixelmonUtils {
    public static String printLocalizedNature(EnumNature nature) {
        return nature.getLocalizedName() + " " + ("".equals(nature.increasedStat.getLocalizedName()) ? "" : "+") + nature.increasedStat.getLocalizedName() + " " + ("".equals(nature.decreasedStat.getLocalizedName()) ? "" : "-") + nature.decreasedStat.getLocalizedName();
    }

    public static String printLocalizedNatureStats(EnumNature nature) {
        return " " + ("".equals(nature.increasedStat.getLocalizedName()) ? "" : "+") + nature.increasedStat.getLocalizedName() + " " + ("".equals(nature.decreasedStat.getLocalizedName()) ? "" : "-") + nature.decreasedStat.getLocalizedName();
    }
}
